/**
 * Created by liubin on 2014/06/12.
 */
Ext.define('Order.view.CartList', {
    extend: 'Ext.List',
    xtype: 'cartlist',
    config: {
        title: '购物车',
        store: 'Cart',
        grouped: true,
        itemTpl: [
            '<div style="height: 30px;line-height: 30px;">',
            '<img src="{image}" width="30" heigh="30" style="vertical-align:middle;">',
            '<span>{name}</span><span style="margin-left:30px">数量:{count}</span><span style="float: right">单价:{price}</span></div>'
        ].join('')
    }
});